package cz.via.wowss.dao;

import java.util.List;

import cz.via.wowss.entities.Company;
import cz.via.wowss.entities.News;

public interface ICompanyDao {
	
	Company getCompany(int id);
	Company getCompany(String name);
	List<Company> getCompanies();
	List<Company> getCompanies(String order, String filter, int maxResults, int offset);
	int getCompanyId(String name);
	List<News> getNews(int companyId, int companyType, int offset);
	List<News> getNews(int offset);
	List<News> getNewsByType(int offset, int type);
}
